:root {
  --keyworlds-width: 50em;
  --keyworlds-height: 50em;
  --keyworlds-color: var(--background-color);
}


.pages {
  position: relative;
  width: 100%;
  height: 200vh;
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;
  z-index: 0;
  color: var(--menu-bg-lighter);
  /* background-color: rgb(51, 6, 6); */
}


.pages .page {
  position: absolute;
  top: 0;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  opacity: 0;
  transform: translateY(-100%);
  transition:
    transform 1s ease,
    opacity 0.1s ease;
  will-change: transform, opacity;
}

.pages .page:nth-child(odd) {
  position: absolute;
  /* background-color: rgb(14, 83, 110); */

}

.pages .pageDown {
  display: block;
  transform: translateY(0);
  z-index: 1;
  opacity: 1;
}

.pages .page .pageHeader {
  position: relative;
  margin: 0 auto;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.pages .pageHeader .pageLogo {
  width: 168px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
  margin: 0 auto;
}

.pages .pageHeader .pageLogo img {
  width: 168px;
  height: 0;
  opacity: 1;
  margin: 0 auto;
  transform-origin: top center;
  transition: transform 0.3s ease;
  cursor: pointer;
  will-change: transform, opacity;
}

.pages .pageHeader .pageLogo h3 {
  font-size: 2em;
  text-align: center;
  opacity: 1;
  margin: 0 auto;
  margin-top: 0.25em;
}

.pages .pageHeader .pageLogo img:hover {
  cursor: pointer;
  transform: scale(1.05);
}

.pages .pageHeader .pageLogo p {
  font-size: 1.5em;
  color: aliceblue;
  line-height: 2em;
}


.pages .page .pageContent {
  position: relative;
  width: 80%;
  /* max-width: 1900px; */
  color: rgba(240, 248, 255, 0.5);
  margin: 0 auto;
  margin-bottom: 2.5em;
  overflow: hidden;
  /* background-color: rgb(7, 99, 37); */
}

.pages .pageContent .map {
  position: relative;
  width: 100%;
  height: 50vh;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 10px;
  background-image: url(https://cdn.jsdelivr.net/gh/laishi/galdhompage/public/gald/img/map.jpg);
  background-position: center;
  background-size: cover;
  opacity: 0.1;
}


/* === 联系我们内容区 === */
.pages .pageContent .contactMe {
  position: absolute;
  float: left;
  width: 100%;
  max-width: 512px;
  z-index: 1;
  margin: 0 auto;
  top: 0;
  padding: 3em;
  /* width: 500px; */
}


/* === 微信二维码 === */
.wxewm {
  width: 100%;
  max-width: 256px;
}






.pages .page .pageFooter {
  position: relative;
  width: 100%;
  height: 0;
}



.galdIntri {
  max-width: 80%;
  margin: 0 auto;
  padding: 30px;
  color: #fff;
  box-sizing: border-box;
  line-height: 1.6;
}

.galdIntri h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--menu-bg-darker);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.galdIntri h3 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 25px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid aliceblue;
}

.galdIntri p {
  font-size: 16px;
  font-weight: 300;
  color: #e0e0e0;
  margin: 0 0 20px;
  text-align: justify;
}

.galdIntri a.link-1,
.galdIntri a.link-2 {
  position: relative;
  text-decoration: none;
  color: var(--menu-bg-lighter);
  padding: 0 3px;
  transition: all 0.3s ease;
}

.galdIntri a.link-1::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(to right, var(--menu-bg-darker), #a3bffa);
  transition: width 0.3s ease;
}

.galdIntri a.link-1:hover::after {
  width: 100%;
}

.galdIntri a.link-1:hover {
  color: #a3bffa;
}

.galdIntri a.link-2 {
  background: linear-gradient(to right,
      var(--menu-bg-darker) 50%,
      transparent 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  transition:
    background-position 0.4s ease,
    color 0.4s ease;
}

.galdIntri a.link-2:hover {
  background-position: right bottom;
  color: #fff;
}

.galdIntri strong {
  font-weight: bold;
  color: #a3bffa;
}



.pages .page .aboutIcon span {
  font-size: 1.2em;
  line-height: 2em;
}

/* keywordsBtn */
.keywordsBtn {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin: 2.5em auto;
}

.keywordsBtn a {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 250px;
  /* max-width: calc(100% / 6 - 1em); */
  flex: 1 1 calc(100% / 6 - 1em);
  text-decoration: none;
  text-align: center;
  display: inline-block;
  background: var(--keyworlds-color);
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  padding: 0.5em;
  border-radius: 10px;
  z-index: 0;
  overflow: hidden;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.keywordsBtn a:before {
  content: "";
  inset: 0 -20% 0;
  position: absolute;
  background: linear-gradient(45deg, white, var(--menu-bg-lighter));
  z-index: -1;
  height: 60%;
  margin: auto;
  border-radius: 20px;
  transform: rotate(0deg);
}

.keywordsBtn a.animate-border:before {
  animation: 5s keywordsAnimation linear infinite;
  will-change: transform;
}

.keywordsBtn a.animate-border {
  opacity: 1;
}

.keywordsBtn a:after {
  content: "";
  inset: 2px;
  position: absolute;
  border-radius: 8px;
  background: var(--keyworlds-color);
  z-index: -1;
}

@keyframes keywordsAnimation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

